<template>
  <div class="frem">
    <p>404</p>
    <h2>看起来你迷路了</h2>
    <h5>你所寻找的页面已丢失!</h5>
    <a @click="gohome">返回首页</a>
  </div>
</template>

<script setup lang="ts">
const router = useRouter()
const gohome = () => {
  router.push("/")
}
</script>

<style scoped>
.frem {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url("../../assets/images//gifs.gif");
  background-position: center;
  background-repeat: no-repeat;
}
.frem p {
  position: absolute;
  top: 3rem;
  font-size: 7rem;
  font-weight: 600;
  color: block;
}
.frem h2 {
  position: absolute;
  bottom: 8rem;
  font-size: 34px;
}
.frem h5 {
  position: absolute;
  bottom: 6rem;
  color: #9c9c9c;
}
.frem a {
  position: absolute;
  bottom: 1rem;
  background: linear-gradient(45deg, #2a98ff, #09ff00);
  padding: 12px;
  cursor: pointer;
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: px;
  border-radius: 13px;
}
</style>
